package com;

import javax.jws.WebService;
import javax.xml.ws.Endpoint;

@WebService
public class WebSDemo {

	public String sayHello(){
		return "hello world";
	}
	
	public static void main(String[] args) {
		Endpoint.publish("http://localhost:9999/helloworld", new WebSDemo());
	}
}
